export default {
  data() {
    return {
      classifyData: [],
      classifyIds: [], //分类
      classifyId: '',
      listQuery: {
        page: 1,
        limit: 9999,
        pid: 0,
        classType: '1', //1.书籍
      },
    }
  },
  mounted() {
    this.getList()
  },
  methods: {
    async getList() {
      let res = await this.$store.dispatch('sysClassifyList', this.listQuery)
      this.classifyData = res.data
    },
  },
}
